#include "label.h"

Label::Label(QMainWindow*parent) :QLabel(parent)
{

}

void Label::enterEvent(QEvent *event)
{
    (void)event;
    this->setStyleSheet("background-color:rgb(0,255,0);");

}

void Label::leaveEvent(QEvent *event)
{
    (void)event;
    this->setStyleSheet("background-color:rgb(255,0,0);");
}
